<?php
    include '../../configs/global.php';
    $ajax_res = array();
    if(@!$_SESSION['username']){
        $ajax_res['code'] = 300;
        $ajax_res['info']="未登录";
    }else{
        $ajax_res['code'] = 200;
        $ajax_res['info']="登录成功";
    }
    echo json_encode($ajax_res);
?>
